package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressService {


    //查询所有的地址
    public List<Address> findAll();

    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //根据id删除id
    public void deleteById(Integer id);

}
